//
//  DCVoiceManager.h
//  DCAvchatSDK
//
//  Created by 张涛 on 2020/10/13.
//  Copyright © 2020 zhangtao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DCAvchatSDKConfig.h"
#ifdef VoiceManagerKit
    #import <DCVoiceKit/DCVoiceKit.h>
#endif

NS_ASSUME_NONNULL_BEGIN

@interface DCVoiceManager : NSObject

#ifdef VoiceManagerKit

@property(nonatomic,strong) VoiceKit *voiceKit;

//初始化voice管理类
- (void) initWithInfo:(NSDictionary*)info;
//开始听写
- (void) beginSpeech:(nullable void (^)(DCError *error,NSDictionary *data))callback;
//结束听写
- (void) endSpeech;

#endif

@end

NS_ASSUME_NONNULL_END
